This scenario demonstrates different ways to reference images.
Windows supports various protocols for referencing images both on the local PC and from the web. A baseUri can also be provided to use relative URIs for web images. Images must be in .png, .jpg, .jpeg, or .gif format and can have a maximum size of 200KB and dimensions of 1024x1024.

ms-appx:///

The ms-appx protocol references images that are included in the .appx package. If localized, scaled, and high contrast resources are provided, the correct asset will be automatically displayed.

ms-appdata:///local/

The ms-appdata protocol references images that are saved to the storage folder (Windows.Storage.ApplicationData.current.localFolder)

http:// and https://

The http and https protocol will download web images.
Web images can be appended with query strings so that localized, scaled, and high contrast images can be returned by the web server if desired.
A baseUri can be specified in a notification for web images. The incomplete baseUri will be combined with the relative image path to form a complete absolute path.

Select an image protocol